package com.company.demo.strategy_game;

public abstract class Role extends Weapon {
    protected Weapon weapon;

    public Role(Weapon weapon) {
        this.ATKValue = 1;
        this.weapon = weapon;
    }

    @Override
    int attack() {
        return weapon.attack() + this.ATKValue;
    }
}
